class ChangeProductsIdForProcontents < ActiveRecord::Migration
  def self.up
    remove_column :pro_contents,:products_id
    add_column :pro_contents,:product_id,:integer
  end

  def self.down
    add_column :pro_contents,:products_id,:integer
    remove_column :pro_contents,:product_id

  end
end
